package com.dongdongshop.service.goods;

import com.dongdongshop.pojo.goods.TbGoods;
import com.dongdongshop.pojo.goods.TbGoodsDesc;
import com.dongdongshop.pojo.item.TbItem;
import com.dongdongshop.pojo.vo.DetailsVo;
import com.dongdongshop.pojo.vo.GoodsVo;
import com.dongdongshop.pojo.vo.ItemCatGoodsVo;
import com.dongdongshop.pojo.vo.TbGoodAllVo;

import java.util.List;
import java.util.Map;

public interface GoodsService {

    void addGoods(TbGoods goods, TbGoodsDesc goodsDesc, List<TbItem> list);

    List<ItemCatGoodsVo> findGoodsList(String auditStatus, String goodsName, String sellerId);

    void updateByStatus(Long[] ids);

    void deleteById(Long[] ids);

    TbGoods finGoodsById(Long goodsId);

    List<GoodsVo> getGoodsShInfo(String goodsName);

    void deleteBatch(Long[] ids);

    List<DetailsVo> getDetailsById(Long id);

    void updateByAudit(Long[] ids);

    void updateByAuditStatus(Long[] ids);

    TbGoodAllVo getGoodsById(Long o);
}
